package com.mycrawler.tbcrawler.action;

import java.util.List;

import com.mycrawler.pojo.TLink;
import com.mycrawler.taobao.TaobaoLuceneSearch;
import com.mycrawler.taobao.TaobaoSearch;

public class SearchHotAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	private List<TLink> links;

	public String querySearchHot() throws Exception {
		TaobaoSearch search = new TaobaoLuceneSearch();
		links = search.get(TaobaoSearch.LUCENE_KEY_HOME);

		return SUCCESS;
	}

	public List<TLink> getLinks() {
		return links;
	}

	public void setLinks(List<TLink> links) {
		this.links = links;
	}

}
